import svgIcon from '@/components/svgIcon/SvgIcon.vue'
const globalComponents = { svgIcon }
export default {
    install(app){
        Object.keys(globalComponents).forEach(key => {
            // 注册为全局组件
            app.component(key, globalComponents[key])
        })
    }
}